package by.fedorenko.sample.services;

import org.springframework.transaction.annotation.Transactional;

import by.fedorenko.sample.datamodel.Appartment;


public interface AppartmentService {
	Appartment get(Long id);

	@Transactional
	void saveOrUpdate (Appartment appartment);

	@Transactional
	void delete(Appartment appartment);

	@Transactional
	void deleteAll();
}
